rump kernels: Handle rumpxen host in configure
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 28 May 2014 16:04:52 +0000 (17:04 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 14 Jul 2014 15:07:50 +0000 (16:07 +0100)
commit69ba39ec0501874f7fa028362c864d67ee29fadc
tree18b01948cc7c9418ad2b62a7126620c085c76bc5
parent70d597d0efb85459ee8f7c1498f22ee7ffd390dd
rump kernels: Handle rumpxen host in configure

Support
   ./configure --host=x86_64-rumpxen-netbsd
   ./configure --host=i386-rumpxen-netbsd

Setting --host tells configure we are cross compiling and therefore
has various automatic effects.

But in this patch we make some deliberate changes as well:
 * We disable a large number of configure tests for libraries
   etc. which don't exist.
 * We set CONFIG_RUMP in Tools.mk.
 * Hence, we automatically set XEN_OS.

(I have only tested the 32-bit build but I think the 64-bit build
should work just as well.)

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
---
v3: Add comment to `fi'
v2: Mention x86_64.
    Drop an erroneous whitespace change.
config/Tools.mk.in
tools/configure
tools/configure.ac